package cn.group01.git.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@ExcelTarget("outport")
public class GoodsOutport {

  private long id;
  @Excel(name = "代理商名称")
  private String agentName;
  @Excel(name = "商品名称")
  private String goodsName;
  @Excel(name = "支付类型")
  private String payType;
  @Excel(name = "销售时间",exportFormat = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date saleTime;
  @Excel(name = "操作员")
  private String operate;
  @Excel(name = "销售数量")
  private Integer number;
  @Excel(name = "规格")
  private String specs;
  @Excel(name = "销售价格")
  private double price;

}
